package com.ruoyi.situation.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.IdType; //添加
import com.baomidou.mybatisplus.annotation.TableId; //添加
import com.baomidou.mybatisplus.annotation.TableName; //添加
import lombok.Data; //添加

import java.io.Serializable; //添加

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 态势估值对象 situation
 *
 * @author ruoyi
 * @date 2024-11-15
 */
@Data //添加
@TableName("situation") //添加
public class Situation extends BaseEntity implements Serializable //修改
{
    private static final long serialVersionUID = 1L;

    /**
     * 态势
     */
    //添加
    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    /**
     * 态势站点
     */
    @Excel(name = "态势站点")
    private String stationType;

    /**
     * 阈值
     */
    @Excel(name = "阈值")
    private String threshold;

    /**
     * 权重
     */
    @Excel(name = "权重")
    private String weight;

    /**
     * 配置时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "配置时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dataTime;

}

